====== 服务器健康状态报告 ======
生成时间: ${reportTime}

<#list servers as server>
[服务器${server.server.id}] ${server.server.host} (${server.server.name})
- 状态: <#if server.online>在线<#else>离线</#if>
<#if !server.online>
<#if server.errorMessage??>- 错误信息: ${server.errorMessage}</#if>
<#else>
<#if server.cpuUsage??>- CPU使用率: ${server.cpuUsage}</#if>
<#if server.memoryInfo??>- 内存: ${server.memoryInfo}</#if>
<#if server.diskInfoList?? && server.diskInfoList?size gt 0>
- 磁盘空间: 
<#list server.diskInfoList as disk>
  * ${disk.mountPoint}: 已用${disk.used} / 总计${disk.total} (${disk.percentage})
</#list>
</#if>
<#if server.systemLoad??>- 系统负载: ${server.systemLoad}</#if>
<#if server.uptime??>- 运行时间: ${server.uptime}</#if>
<#if server.processCount??>- 进程数: ${server.processCount}</#if>
<#if server.networkConnections??>- 网络连接数: ${server.networkConnections}</#if>
<#if server.serviceStatus?? && server.serviceStatus?size gt 0>
- 关键服务状态:
<#list server.serviceStatus?keys as service>
  * ${service}: ${server.serviceStatus[service]}
</#list>
</#if>
<#if server.recentErrors?? && server.recentErrors?size gt 0>
- 最近系统错误: 
<#list server.recentErrors as error>
  * ${error}
</#list>
</#if>
</#if>

</#list> 